package com.babster631;

import com.babster631folder2.babster631modbase;

import cpw.mods.fml.common.ICraftingHandler;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;

public class Event1 implements ICraftingHandler {

    @Override
    public void onCrafting(EntityPlayer player, ItemStack item,
                    IInventory craftMatrix) {
             if (item.itemID == babster631modbase.thunderSword.itemID)
     {
             player.addStat(babster631modbase.theApoc10, 1);
     }
    }

    @Override
    public void onSmelting(EntityPlayer player, ItemStack item) {
            // TODO Auto-generated method stub

    }

}
